﻿using System;
namespace FrankJie.Model
{
	/// <summary>
	/// 评论实体类
	/// </summary>
	[Serializable]
	public partial class CommentInfo
	{
		private int _id;
		private int _postid=0;
		private string _author="";
		private string _contents="";
		private string _email="";
		private string _url="";
		private string _ip="";
		private DateTime _createtime= DateTime.Now;
		private bool _checked= false;
		private string _agent="";
		private int _parentid=0;
		private int _mid=0;
		private DateTime _checktime= DateTime.Now;
		/// <summary>
		/// 评论ID
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 文章ID
		/// </summary>
		public int PostId
		{
			set{ _postid=value;}
			get{return _postid;}
		}
		/// <summary>
		/// 评论作者
		/// </summary>
		public string Author
		{
			set{ _author=value;}
			get{return _author;}
		}
		/// <summary>
		/// 评论内容
		/// </summary>
		public string Contents
		{
			set{ _contents=value;}
			get{return _contents;}
		}
		/// <summary>
		/// 作者邮件
		/// </summary>
		public string Email
		{
			set{ _email=value;}
			get{return _email;}
		}
		/// <summary>
		/// 作者空间链接
		/// </summary>
		public string Url
		{
			set{ _url=value;}
			get{return _url;}
		}
		/// <summary>
		/// 作者Ip
		/// </summary>
		public string Ip
		{
			set{ _ip=value;}
			get{return _ip;}
		}
		/// <summary>
		/// 评论创建时间
		/// </summary>
		public DateTime CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 是否检验通过
		/// </summary>
		public bool Checked
		{
			set{ _checked=value;}
			get{return _checked;}
		}
		/// <summary>
		/// 作者客户端信息
		/// </summary>
		public string Agent
		{
			set{ _agent=value;}
			get{return _agent;}
		}
		/// <summary>
		/// 评论父级ID
		/// </summary>
		public int ParentId
		{
			set{ _parentid=value;}
			get{return _parentid;}
		}
		/// <summary>
		/// 管理员ID
		/// </summary>
		public int MId
		{
			set{ _mid=value;}
			get{return _mid;}
		}
		/// <summary>
		/// 检验时间
		/// </summary>
		public DateTime CheckTime
		{
			set{ _checktime=value;}
			get{return _checktime;}
		}
	}
}

